<template>
  <el-tabs v-model="activeName" @tab-click="handleClick">
    <el-tab-pane label="系统公告" name="first">
        <el-row type="flex" class="row-bg" justify="center" offset>
            <div class="border_peal">
                <el-col :span="12">
                    <div class="grid-content bg-purple">
                        <el-row>
                            <el-col :span="24">
                                <div class="peal_1 left">内部公告</div>
                            </el-col>
                            <el-col :span="24">
                                <div class="cont_right">
                                    <div class="cont_list">
                                        <span>2019.1.23 14:02:34 关于物流的最新变动,你有什么最新消息吗？</span>
                                    </div>
                                </div>
                            </el-col>
                        </el-row>
                    </div>
                </el-col>
                <el-col :span="12">
                    <div class="grid-content bg-purple-light">
                        <el-row>
                            <el-col :span="24">
                                <div class="peal_1 right">承运商公告</div>
                            </el-col>
                            <el-col :span="24">
                                <div class="cont_right">
                                    <div class="cont_list">
                                        <span>2019.1.23 14:02:34 关于物流的最新变动,你有什么最新消息吗？</span>
                                    </div>
                                </div>
                            </el-col>
                        </el-row>
                    </div>
                </el-col>
            </div>
        </el-row>
    </el-tab-pane>
    <el-tab-pane label="发货亏盈统计" name="second">发货亏盈统计</el-tab-pane>
    <el-tab-pane label="发货量统计" name="third">发货量统计</el-tab-pane>
    <el-tab-pane label="客户到期统计" name="fourth">客户到期统计</el-tab-pane>
  </el-tabs>
</template>
<script>

export default {

    data () {

        return {
            tabalData:[
                {
                    
                }
            ],
            activeName: 'first'
        }
    },

    mounted () {
        
    },

    methods: {
        
        //tab切换
        handleClick(tab, event) {
        console.log(tab, event);
      }
    }
}
</script>
<style>
.el-tabs__nav-scroll{
    padding-left: 70px;
}
.el-tabs__item{
    font-size:15px;
}
.el-tabs__header{
    background: #FFF;
}
.el-tabs--top{
    background: #F5F5F5;
}
.el-tabs__nav-wrap{
    padding-bottom: 12px;
}
.border_peal{
    width:98%;
    margin:0 auto;
    border-radius: 10px;
    box-shadow:0px 11px 24px 0px rgba(7,1,2,0.07);
}
.peal_1{
    text-align: center;
    height:56px;
    line-height: 56px;
    color:#fff;
}
.left{
    background: #CECCCC;
}
.right{
    background: rgba(254,200,122,1);
}
.cont_left{
    background-color:#FFFFFF;
    padding:15px;
}
.cont_right{
    background-color:#fff;
    padding:15px;
}
.cont_list{
    line-height: 56px;
    border-bottom: 1px solid #EEEEEE;
    color:#3E3E3E;
}
</style>

